var fs=require("fs");              //引入fs模块
const path = require('path');
const readPath = path.join(__dirname, 'readme.md')
text=fs.readFileSync(readPath,"utf8")  //读取文件
console.log(text)                  //显示文件内容